package com.etennis.pojos.dto.web;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 商品DTO
 */
@Data
public class GoodDTO {

    private Long id;

    private String name;

    private Integer restNum;

    private Integer price;

    private MultipartFile picture;

    @ApiModelProperty("是否下架")
    private String status;
}
